﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>定额管理</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">

    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    
    <link href="css/add-style.css" rel="stylesheet">
    

</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div id="part1" class="col-sm-3">
                <div class="ibox ">
                    <div class="ibox-content">
                        <h2>维修分类</h2>
                        <hr />
                        <div class="input-group">
                            <input type="text" placeholder="查找分类" class="input form-control">
                            <span class="input-group-btn">
                                <button type="button" class="btn btn-primary"> <i class="fa fa-search"></i> 搜索</button>
                            </span>
                            <div class="btn-group pull-right">
                                <button data-toggle="dropdown" class="btn btn-success dropdown-toggle">
                                    分类操作 <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a data-toggle="modal" class="btn btn-primary" href="project_plan.html#modal-left">添加同级</a>
                                    </li>
                                    <li>
                                        <a data-toggle="modal" class="btn btn-info" href="project_plan.html#modal-left">添加子级</a>
                                    </li>
                                    <li>
                                        <a data-toggle="modal" class="btn btn-warning" href="project_plan.html#modal-left">修改选中</a>
                                    </li>
                                    <li>
                                        <button class="btn btn-warning demo4"><i class="fa fa-times"></i> 删除</button>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <br />                        
                        <div class="tab-content">
                            <div id="treeview19" class="test"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-9">
                <div class="ibox">
                    <div class="ibox-content">
                        <span class="text-muted small pull-right"><a data-toggle="modal" href="charge_office.html#modal-remark" class="btn btn-danger btn-sm"><i class="fa fa-dollar"></i> 开发文档 </a></span>
                        <h2>维修项目</h2>
                        <br />
                        <div class="ibox-content">

                            <div class="row">
                                <div class="col-sm-4"></div>
                                <div class="col-sm-6 m-b-xs">
                                    <div class="input-group pull-right">
                                        <input type="text" placeholder="请输入编码\工作名称（支持模糊查询）" class="input-sm form-control"> <span class="input-group-btn">
                                            <button type="button" class="btn btn-sm btn-primary"> 搜索</button>
                                        </span>
                                    </div>
                                </div>
                                <div class="col-sm-2 pull-right">
                                    <button type="button" class="btn btn-sm btn-success"> 导入</button>                                   
                                </div>
                            </div>
                            <table class="table table-striped table-hover">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>编码</th>
                                        <th>分类</th>
                                        <th>工作名称</th>
                                        <th>规格</th>
                                        <th>单位</th>
                                        <th>数量</th>
                                        <th>定额工时(分钟)</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>1</td>
                                        <td>10101</td>
                                        <td>
                                            灯具安装维修
                                        </td>
                                        <td>
                                            直管螺口/插口式节能灯管安装
                                        </td>
                                        <td>24W以下</td>
                                        <td> 个</td>
                                        <td> 1</td>
                                        <td>30</td>
                                        <td>
                                            <a data-toggle="modal" href="workorder_time.html#modal-update" class="btn btn-success btn-sm"><i class="fa fa-pencil"></i> 修改 </a>
                                            <button class="btn btn-danger btn-sm demo4"><i class="fa fa-times"></i> 删除</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>2</td>
                                        <td>10101</td>
                                        <td>
                                            灯具安装维修
                                        </td>
                                        <td>
                                            直管螺口/插口式节能灯管安装
                                        </td>
                                        <td>24W以下</td>
                                        <td> 个</td>
                                        <td> 1</td>
                                        <td>30</td>
                                        <td>
                                            <a data-toggle="modal" href="workorder_time.html#modal-update" class="btn btn-success btn-sm"><i class="fa fa-pencil"></i> 修改 </a>
                                            <button class="btn btn-danger btn-sm demo4"><i class="fa fa-times"></i> 删除</button>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>3</td>
                                        <td>10101</td>
                                        <td>
                                            灯具安装维修
                                        </td>
                                        <td>
                                            直管螺口/插口式节能灯管安装
                                        </td>
                                        <td>24W以下</td>
                                        <td> 个</td>
                                        <td> 1</td>
                                        <td>30</td>
                                        <td>
                                            <a data-toggle="modal" href="workorder_time.html#modal-update" class="btn btn-success btn-sm"><i class="fa fa-pencil"></i> 修改 </a>
                                            <button class="btn btn-danger btn-sm demo4"><i class="fa fa-times"></i> 删除</button>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <div class="text-right">
                                <ul class="pagination">
                                    <li><a href="#">&laquo;</a></li>
                                    <li><a href="#">1</a></li>
                                    <li><a href="#">2</a></li>
                                    <li><a href="#">3</a></li>
                                    <li><a href="#">4</a></li>
                                    <li><a href="#">5</a></li>
                                    <li><a href="#">&raquo;</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--编辑设备分类信息Start-->
    <div id="modal-left" class="modal fade" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-12 b-r">
                            <h3 class="m-t-none m-b">分类管理</h3>
                            <form role="form">
                                <div class="form-group">
                                    <label>分类名称：</label>
                                    <input type="password" placeholder="请输入类型名称" class="form-control">
                                </div>
                                <div>
                                    <button class="btn btn-sm btn-success pull-right m-t-n-xs" type="submit">
                                        <strong>取消</strong>
                                    </button>
                                    <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit">
                                        <strong>保存</strong>
                                    </button>

                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--编辑设备分类信息END-->

    <!--工时修改Start-->
    <div id="modal-update" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <span class="text-muted small pull-right">操作人：张苏纳 时间：<i class="fa fa-clock-o"></i> 2015-09-01 12:00</span>
                    <h3>修改工时</h3>
                    <div class="ibox-content">
                        <table class="table table-hover">
                            <tbody>
                                <tr>
                                    <td style="width:13%;">
                                        <strong>工时：</strong>
                                    </td>
                                    <td>
                                        <input type="text" class="input form-control" value="" placeholder="整数" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div class="text-right">
                            <button type="button" class="btn btn btn-success"><i class="fa fa-search"></i>保存</button>
                            <button type="button" class="btn btn btn-primary"><i class="fa fa-search"></i>关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--工时修改End-->

    <!--开发提示文字Start-->
    <div id="modal-remark" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="well">
                        <h3>
                            前端开发事项：
                        </h3>
                        1、查询条件和导入按钮靠右对齐<br />
                        2、分类操作页面和功能与工程设备分类管理相同<br />
                    </div>
                    <div class="well well-lg">
                        <h3>
                            后台开发事项：
                        </h3>
                        1、用户选择缴费类型为临时费用时自动隐藏免单赠券行,同时重新绑定缴费类型的选项为临时费用<br />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--开发提示文字End-->

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script src="js/common.js"></script>
    
    
    
    <!-- Bootstrap-Treeview plugin javascript -->
    <script src="js/plugins/treeview/bootstrap-treeview.js"></script>
    <script src="js/demo/treeview-projectdemo.min.js"></script>
    <!-- Data picker -->
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>       
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>
    <!-- layerDate plugin javascript -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script>
        var start = {
            elem: "#start",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                end.min = a;
                end.start = a
            }
        };
        var end = {
            elem: "#end",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                start.max = a
            }
        };
        laydate(start);
        laydate(end);
    </script>

    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        $(document).ready(function () { $(".demo1").click(function () { swal({ title: "欢迎使用SweetAlert", text: "Sweet Alert 是一个替代传统的 JavaScript Alert 的漂亮提示效果。" }) }); $(".demo2").click(function () { swal({ title: "太帅了", text: "小手一抖就打开了一个框", type: "success" }) }); $(".demo3").click(function () { swal({ title: "您确定要删除这条信息吗", text: "删除后将无法恢复，请谨慎操作！", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "删除", closeOnConfirm: false }, function () { swal("删除成功！", "您已经永久删除了这条信息。", "success") }) }); $(".demo4").click(function () { swal({ title: "您确定要删除这条信息吗", text: "删除后将无法恢复，请谨慎操作！", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "是的，我要删除！", cancelButtonText: "让我再考虑一下…", closeOnConfirm: false, closeOnCancel: false }, function (a) { if (a) { swal("删除成功！", "您已经永久删除了这条信息。", "success") } else { swal("已取消", "您取消了删除操作！", "error") } }) }) });
    </script>

    <script>
        $(document).ready(function () {
            $("#data_5 .input-daterange").datepicker({
                keyboardNavigation: false,
                forceParse: false,
                autoclose: true
            });
            $("#data_4 .input-group.date").datepicker({ format: 'yyyy', startView: 2, minViewMode: 2, keyboardNavigation: false, forceParse: false, autoclose: true, todayHighlight: true });

        });
    </script>

    <script>
        $(document).ready(function () { $("#lightVersion").click(function (a) { a.preventDefault(); $("#ibox-content").removeClass("ibox-content"); $("#vertical-timeline").removeClass("dark-timeline"); $("#vertical-timeline").addClass("light-timeline") }); $("#darkVersion").click(function (a) { a.preventDefault(); $("#ibox-content").addClass("ibox-content"); $("#vertical-timeline").removeClass("light-timeline"); $("#vertical-timeline").addClass("dark-timeline") }); $("#leftVersion").click(function (a) { a.preventDefault(); $("#vertical-timeline").toggleClass("center-orientation") }) });
    </script>
    <!--统计代码，可删除-->
</body>
</html>